/**
 * Design elements for default Template
 *
 * @author Andreas Gohr <andi@splitbrain.org>
 * @author Anika Henke <anika@selfthinker.org>
 */

/* -------------- general elements --------------- */

* { padding: 0; margin: 0; }

/* the document */
.dokuwiki div.page {
/*  text-align: justify;*/
}
.dokuwiki table {
  font-size: 100%;
}

.dokuwiki tr,
.dokuwiki td,
.dokuwiki th {
}

.dokuwiki img {
  border: 0;
}

.dokuwiki p,
.dokuwiki blockquote,
.dokuwiki table,
.dokuwiki pre {
  margin: 0 0 1.0em 0;
}

.dokuwiki hr {
  border: 0px;
  border-top: 1px solid #003560;
  text-align: center;
  height: 0px;
}

.dokuwiki div.nothing {
  text-align: center;
  margin: 2em;
}

/* ---------------- forms ------------------------ */

.dokuwiki form {
  border: none;
  display: inline;
}

.dokuwiki label.block {
  display: block;
  text-align: right;
  font-weight: bold;
}

.dokuwiki label.simple {
  display: block;
  text-align: left;
  font-weight: normal;
}

.dokuwiki label.block input.edit {
  width: 50%;
}

.dokuwiki fieldset {
  width: 300px;
  text-align: center;
  border: 1px solid #003560;
  padding: 0.5em;
  margin: auto;
}

.dokuwiki textarea.edit {
  font-family: monospace, serif;
  /* second generic font fixes problem with font-size, see
     http://meyerweb.com/eric/thoughts/2010/02/12/fixed-monospace-sizing/ */
  font-size: 100%;
  color: #003560;
  background-color: #fff;
  border: 1px solid #003560;
  padding: 0.3em 0 0 0.3em;
  /* should just be "width: 100%", but IE8 doesn't like it, see FS#1910 + FS#1667 */
  width: 700px;
  min-width: 100%;
  max-width: 100%;
}

/* nice alphatransparency background except for IE <7 */
html>body .dokuwiki textarea.edit {
  background:  #fff url(images/inputshadow.png) repeat-x top;
}

.dokuwiki input.edit,
.dokuwiki select.edit {
  font-size: 100%;
  border: 1px solid #003560;
  color: #003560;
  background-color: #fff;
  vertical-align: middle;
  margin: 1px;
  padding: 0.20em 0.3em;
  display: inline;
}

/* nice alphatransparency background except for IE <7 */
html>body .dokuwiki input.edit,
html>body .dokuwiki select.edit {
  background:  #fff url(images/inputshadow.png) repeat-x top;
}

.dokuwiki select.edit {
  padding: 0.1em 0;
}

.dokuwiki input.missing {
  font-size: 100%;
  border: 1px solid #003560;
  color: #003560;
  background-color: #ffcccc;
  vertical-align: middle;
  margin: 1px;
  padding: 0.20em 0.3em;
  display: inline;
}

/* disabled style - not understood by IE */
.dokuwiki textarea.edit[disabled],
.dokuwiki textarea.edit[readonly],
.dokuwiki input.edit[disabled],
.dokuwiki input.edit[readonly],
.dokuwiki input.button[disabled],
.dokuwiki select.edit[disabled] {
  background-color: #f5f5f5!important;
  color: #666!important;
}

/* edit form */
.dokuwiki div.toolbar,
.dokuwiki div#wiki__editbar {
   margin: 2px 0;
   text-align: left;
}
.dokuwiki div#size__ctl {
   float: right;
   width: 60px;
   height: 2.7em;
}
.dokuwiki #size__ctl img {
   cursor: pointer;
}
.dokuwiki div#wiki__editbar div.editButtons {
   float: left;
   padding: 0 1.0em 0.7em 0;
}
.dokuwiki div#wiki__editbar div.summary {
   float: left;
}
.dokuwiki .nowrap {
   white-space: nowrap;
}
.dokuwiki div#draft__status {
  float: right;
  color: #638c9c;
}

.dokuwiki div.license {
  padding: 0.5em;
  font-size: 90%;
  text-align: center;
}

.dokuwiki form#dw__editform div.license {
  clear: left;
  font-size: 90%;
}

/* --------- buttons ------------------- */

.dokuwiki input.button,
.dokuwiki button.button {
  border: 1px solid #003560;
  color: #003560;
  background-color: #fff;
  vertical-align: middle;
  text-decoration: none;
  font-size: 0.75em;
  cursor: pointer;
  margin: 1px;
  padding: 0.125em 0.4em;
}

/* nice alphatransparency background except for IE <7 */
html>body .dokuwiki input.button,
html>body .dokuwiki button.button {
  background:  #fff url(images/buttonshadow.png) repeat-x bottom;
}

* html .dokuwiki input.button,
* html .dokuwiki button.button {
  height: 1.8em;
}

.dokuwiki div.secedit input.button {
  border: 1px solid #003560;
  color: #003560;
  background-color: #fff;
  vertical-align: middle;
  text-decoration: none;
  margin: 0;
  padding: 0;
  font-size: 10px;
  cursor: pointer;
  float: right;
  display: inline;
}

/* ----------- page navigator ------------- */

.dokuwiki div.pagenav {
    margin: 1em 0 0 0;
}

.dokuwiki div.pagenav-prev {
    text-align: right;
    float: left;
    width: 49%
}

.dokuwiki div.pagenav-next {
    text-align: left;
    float: right;
    width: 49%
}

/* --------------- Links ------------------ */

.dokuwiki a:link,
.dokuwiki a:visited {
  color: #003560;
}
.dokuwiki a:hover,
.dokuwiki a:active {
  color: #003560;
  text-decoration: underline;
}

.dokuwiki h1 a,
.dokuwiki h2 a,
.dokuwiki h3 a,
.dokuwiki h4 a,
.dokuwiki h5 a,
.dokuwiki a.nolink {
  color: #003560 !important;
  text-decoration: none !important;
}

/* external link */
.dokuwiki a.urlextern {
/*  background: transparent url(images/link_icon.gif) 0px 1px no-repeat;
  padding: 1px 0px 1px 16px;*/
}

/* windows share */
.dokuwiki a.windows {
  background: transparent url(images/windows.gif) 0px 1px no-repeat;
  padding: 1px 0px 1px 16px;
}

/* interwiki link (icon are set by dokuwiki) */
.dokuwiki a.interwiki {
}

/* link to some embedded media */
.dokuwiki a.media {
}

.dokuwiki a.mf_pdf {
   /* margin-left: -1.5em; */
}

.dokuwiki a.urlextern:link,
.dokuwiki a.windows:link,
.dokuwiki a.interwiki:link {
  color: #003560;
}

.dokuwiki a.urlextern:hover,
.dokuwiki a.urlextern:active,
.dokuwiki a.windows:hover,
.dokuwiki a.windows:active,
.dokuwiki a.interwiki:hover,
.dokuwiki a.interwiki:active {
  color: #003560;
}

/* email link */
.dokuwiki a.mail {
  background: transparent url(images/mail_icon.gif) 0px 1px no-repeat;
  padding: 1px 0px 1px 16px;
}

/* existing wikipage */
.dokuwiki a.wikilink1 {
  color: #003560 !important;
}

/* not existing wikipage */
.dokuwiki a.wikilink2 {
  color: #f30 !important;
  text-decoration: none !important;
  border-bottom: dashed 1px #f30 !important;
}

/* ------------- Page elements ----------------- */

.dokuwiki div.preview {
  margin: 0 0 0 0;
  padding: 4px;
  border: 1px dashed #003560;
}

.dokuwiki div.breadcrumbs {
  background-color: #f5f5f5;
  color: #666;
  font-size: 80%;
  padding: 0 0 0 4px;
}

.dokuwiki span.user {
  color: #8DAE10;
  font-size: 90%;
}

.dokuwiki li.minor {
  color: #666;
  font-style: italic;
}

/* embedded images */
.dokuwiki img.media {
  margin: 3px;
}

.dokuwiki img.medialeft {
  border: 0;
  float: left;
  margin: 0 1.5em 0 0;
}

.dokuwiki img.mediaright {
  border: 0;
  float: right;
  margin: 0 0 0 1.5em;
}

.dokuwiki img.mediacenter {
  border: 0;
  display: block;
  margin: 0 auto;
}

/* smileys */
.dokuwiki img.middle {
  vertical-align: middle;
}

.dokuwiki acronym {
  cursor: help;
  border-bottom: 1px dotted #003560;
}

/* unordered lists */
.dokuwiki ul {
  line-height: 1.5em;
  list-style-type: square;
  list-style-image: none;
  margin: 0 0 0 1em;
  color: #638c9c;
}

/* ordered lists */
.dokuwiki ol {
  line-height: 1.5em;
  list-style-image: none;
  margin: 0 0 1em 3.5em;
  color: #638c9c;
  font-weight: bold;
}

/* no bottom gap in between and smaller left margin for nested lists */
.dokuwiki li ul,
.dokuwiki li ol {
  margin: 0 0 0 1em;
}

/* the list items overriding the ul/ol definition */
.dokuwiki .li {
  color: #003560;
  font-weight: normal;
  padding-bottom: 5px;
}

.dokuwiki ol { list-style-type: decimal; }
.dokuwiki ol ol { list-style-type: upper-roman; }
.dokuwiki ol ol ol { list-style-type: lower-alpha; }
.dokuwiki ol ol ol ol { list-style-type: lower-greek; }

.dokuwiki li.open {
  list-style-image: url(images/open.gif);
    /*list-style-type: circle;*/
}

.dokuwiki li.closed {
  list-style-image: url(images/closed.gif);
    /*list-style-type: disc;*/
}

.dokuwiki blockquote {
  border-left: 2px solid #003560;
  padding-left: 3px;
}

.dokuwiki pre,
.dokuwiki code {
  font-family: monospace, serif;
  /* second generic font fixes problem with font-size, see
     http://meyerweb.com/eric/thoughts/2010/02/12/fixed-monospace-sizing/ */
  font-size: 100%;
}
.dokuwiki pre {
  padding: 0.5em;
  border: 1px dashed #003560;
  color: #003560;
  overflow: auto;
}


/* code blocks by indention */
.dokuwiki pre.pre {
  background-color: #f7f9fa;
}

/* code blocks by code tag */
.dokuwiki pre.code {
  background-color: #f7f9fa;
  font-size: 75%;
}

/* code blocks by file tag */
.dokuwiki pre.file {
  background-color: #e8efcf;
}

/* filenames for file and code blocks */
.dokuwiki dl.file,
.dokuwiki dl.code {
    margin-top: 2em;
    margin-bottom: 2.5em;
}

.dokuwiki dl.file dt,
.dokuwiki dl.code dt {
    border: 1px dashed #003560;
    display: inline;
    padding: 0.1em 1em;
    margin-left: 2em;
}

.dokuwiki dl.code dt a,
.dokuwiki dl.file dt a {
    color: #003560;
}

.dokuwiki dl.code dt {
    background-color: #f7f9fa;
    border-bottom: 1px solid #f7f9fa;
}

.dokuwiki dl.file dt {
    background-color: #e8efcf;
    border-bottom: 1px solid #e8efcf;
}


/* inline tables */
.dokuwiki table.inline {
  background-color: #fff;
  border-spacing: 0px;
  border-collapse: collapse;
  font-size: 0.75em;
}

.dokuwiki table.inline th {
  padding: 3px;
  border: 1px solid #003560;
  background-color: #e8efcf;
}

.dokuwiki table.inline td {
  padding: 3px;
  border: 1px solid #003560;
}

/* ---------- table of contents ------------------- */

.dokuwiki div.dw__toc {
  margin: 1.2em 0 0 2em;
  float: right;
  width: 200px;
  font-size: 80%;
  clear: both;
}

.dokuwiki div.tocheader {
  border: 1px solid #003560;
  background-color: #e8efcf;
  text-align: left;
  font-weight: bold;
  padding: 3px;
//  margin-bottom: 2px;
}

.dokuwiki span.toc_open,
.dokuwiki span.toc_close {
    border: 0.4em solid #e8efcf;
    float: right;
    display: block;
    margin: 0.4em 3px 0 0;
}

.dokuwiki span.toc_open span,
.dokuwiki span.toc_close span {
    display: none;
}

.dokuwiki span.toc_open {
    margin-top: 0.4em;
    border-top: 0.4em solid #003560;
}

.dokuwiki span.toc_close {
    margin-top: 0;
    border-bottom: 0.4em solid #003560;
}

.dokuwiki #toc__inside {
//  border: 1px solid #003560;
  background-color: #fff;
  text-align: left;
  padding: 0.5em 0 0.7em 0;
}

.dokuwiki ul.toc {
  list-style-type: none;
  list-style-image: none;
  line-height: 1.2em;
  padding-left: 1em;
  margin: 0;
}

.dokuwiki ul.toc li {
//  background: transparent url(images/tocdot2.gif) 0 0.6em no-repeat;
  padding-left: 0.4em;
}

.dokuwiki ul.toc li.clear {
  background-image: none;
  padding-left: 0.4em;
}

.dokuwiki a.toc:link,
.dokuwiki a.toc:visited {
  color: #003560;
}

.dokuwiki a.toc:hover,
.dokuwiki a.toc:active {
  color: #003560;
}

/* ---------------------------- Diff rendering --------------------------*/
.dokuwiki table.diff {
  background-color: #fff;
  width: 100%;
}
.dokuwiki td.diff-blockheader {
  font-weight: bold;
}
.dokuwiki table.diff th {
  border-bottom: 1px solid #003560;
  font-size: 110%;
  width: 50%;
  font-weight: normal;
  text-align: left;
}
.dokuwiki table.diff th a {
    font-weight: bold;
}
.dokuwiki table.diff th span.user {
    color: #003560;
    font-size: 80%;
}
.dokuwiki table.diff th span.sum {
    font-size: 80%;
    font-weight: bold;
}
.dokuwiki table.diff th.minor {
  font-style: italic;
}
.dokuwiki table.diff td {
  font-family: monospace;
  font-size: 100%;
}
.dokuwiki td.diff-addedline,
.dokuwiki span.diff-addedline {
  background-color: #ddffdd;
}
.dokuwiki td.diff-deletedline,
.dokuwiki span.diff-deletedline {
    background-color: #ffffbb;
}
.dokuwiki td.diff-context {
    background-color: #f5f5f5;
}
.dokuwiki table.diff td.diff-addedline strong,
.dokuwiki table.diff td.diff-deletedline strong {
    color: red;
}

/* --------------------- footnotes -------------------------------- */

.dokuwiki div.footnotes {
  clear: both;
  border-top: 1px solid #003560;
  padding-left: 1em;
  margin-top: 1em;
}

.dokuwiki div.fn {
  font-size: 90%;
}

.dokuwiki a.fn_bot {
  font-weight: bold;
}

/* insitu-footnotes */
div.insitu-footnote {
  font-size: 80%;
  line-height: 1.2em;
  border: 1px solid #003560;
  background-color: #f7f9fa;
  text-align: left;
  padding: 4px;
  max-width: 40%;    /* IE's width is handled in javascript */
  min-width: 5em;
}

/* overcome IE issue with one line code or file boxes which require h. scrolling */
* html .insitu-footnote pre.code,
* html .insitu-footnote pre.file {
  padding-bottom: 18px;
}

/* --------------- search result formating --------------- */
.dokuwiki .search_result {
  margin-bottom: 6px;
  padding: 0 10px 0 30px;
}

.dokuwiki .search_snippet {
  color: #8DAE10;
  font-size: 12px;
  margin-left: 20px;
}

.dokuwiki .search_sep {
  color: #003560;
}

.dokuwiki .search_hit {
  color: #003560;
  background-color: #ff9;
}
.dokuwiki strong.search_hit {
  font-weight: normal;
}

.dokuwiki div.search_quickresult {
  margin: 0 0 15px 30px;
  padding: 0 10px 10px 0;
  border-bottom: 1px dashed #003560;
}
.dokuwiki div.search_quickresult h3 {
  margin: 0 0 1.0em 0;
  font-size: 1em;
  font-weight: bold;
}

.dokuwiki ul.search_quickhits {
  margin: 0 0 0.5em 1.0em;
}

.dokuwiki ul.search_quickhits li {
  margin: 0 1.0em 0 1.0em;
  float: left;
  width: 30%;
}

.dokuwiki .section_highlight {
  background-color: #e8efcf !important;
}

/* ------------------ Additional ---------------------- */

div.footerinc {
    text-align: center;
}
.footerinc a img {
    opacity: 0.5;
    border: 0;
}

.footerinc a:hover img {
    opacity: 1;
}

/* ---------- AJAX quicksearch ----------- */

.dokuwiki div.ajax_qsearch {
  position: absolute;
  right: 237px;;
  width: 200px;
  opacity: 0.9;
  display: none;
  font-size: 80%;
  line-height: 1.2em;
  border: 1px solid #003560;
  background-color: #f7f9fa;
  text-align: left;
  padding: 4px;
}

/* --------- Toolbar -------------------- */
button.toolbutton {
  background-color: #fff;
  padding: 0px;
  margin: 0 1px 0 0;
  border: 1px solid #003560;
  cursor: pointer;
}

/* nice alphatransparency background except for IE <7 */
html>body button.toolbutton {
  background:  #fff url(images/buttonshadow.png) repeat-x bottom;
}

div.picker {
  width: 250px;
  border: 1px solid #003560;
  background-color: #e8efcf;
}

div.pk_hl {
  width: 125px;
}

button.pickerbutton {
  padding: 0px;
  margin: 0 1px 1px 0;
  border: 0;
  background-color: transparent;
  font-size: 80%;
  cursor: pointer;
}

/* ---------------  Image Details  ----------------- */

.dokuwiki div.img_big {
  float: left;
  margin-right: 0.5em;
}

.dokuwiki dl.img_tags dt {
  font-weight: bold;
  background-color: #e8efcf;
}
.dokuwiki dl.img_tags dd {
  background-color: #f5f5f5;
}

.dokuwiki div.imagemeta {
  color: #666;
  font-size: 70%;
  line-height: 95%;
}

.dokuwiki div.imagemeta img.thumb {
  float: left;
  margin-right: 0.1em;
}

/* ---------------  Folding Details  ----------------- */

div.folded {
    margin-bottom: 1em;
    padding-bottom: 0;
}

div.folded p {
    margin-bottom: 0;
}
